package com.tuanzi.loan.business.repository.galaxycard.custom;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.tuanzi.loan.vo.request.galaxycard.GalaxyCardPromoteUserRelateChannelRequest;
import com.tuanzi.loan.vo.response.galaxycard.GalaxyCardPromoteUserRelateChannelResponse;

public interface GalaxyCardPromoteUserRelateChannelCustomRepository {
	
	/**
	 * 查询用户渠道关联列表
	 * @param searchRequest
	 * @param pageable
	 * @return
	 */
	Page<GalaxyCardPromoteUserRelateChannelResponse> list(GalaxyCardPromoteUserRelateChannelRequest searchRequest, Pageable pageable);

	/**
	 * 根据用户ID查询关联渠道列表
	 * @param userId
	 * @return
	 */
	List<Integer> findChannelCodeListByUserId(String userId);

}
